package com.game.modular.game.act.battle;

import com.game.modular.game.playerInfo.domain.Player;
import com.game.modular.game.playerInfo.mapper.PlayerMapper;
import com.game.modular.game.playerInfo.service.PlayerServiceImpl;
import com.game.modular.game.match.service.PvpMatchServiceImpl;
// import com.game.modular.game.playerInfo.service.base.PlayerBaseServiceImpl;
import com.game.modular.game.playerMatch.service.PvpMessageServiceImpl;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@Api(tags = "测试")
@RequestMapping("/test")
@RestController
public class TestAction {
    @Resource
    private PlayerServiceImpl playerService;
    @Resource
    private PlayerMapper playerMapper;

    @RequestMapping("/two")
    public Player test3() {
        return playerService.select(1L);
    }
}
